package com.ruicar.afs.cloud.manage.finance.bankarrive.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.manage.finance.bankarrive.entity.ManageAccountRegister;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;
import java.util.List;

/**
 * @author: Lee
 * @date 2020-05-30 04:44:59 
 * @description 
 */
public interface ManageAccountRegisterService extends IService<ManageAccountRegister> {

    /**
     * 银行到账记录导入处理
     * @author ZC.GUO
     * @param file 上传文件对象
     * @throws Exception
     * @return
     */
    public List<ManageAccountRegister>  handleExcelImport(MultipartFile file, Date batchDate) throws Exception;

    void handleAccountRegister(ManageAccountRegister manageAccountRegister);
    /**
     * 处理银行到账信息
     * @throws Exception
     * @return
     */
    void handleAccountRegisterStatus(List<ManageAccountRegister> manageAccountRegisterList);

    /**
     * 解锁
     * @author ZC.GUO
     * @param idList 需锁定记录的id集合
     * @return
     */
    public void unlockAccountRegister(List<Long> idList);
    /**
     * 锁定
     * @author ZC.GUO
     * @param idList 需锁定记录的id集合
     * @return
     */
    public boolean lockAccountRegister(List<Long> idList);
}
